SftTree/NET 2.0

NextMainCell Property, CellClass Class

Softel vdm, Inc.

Returns the next main cell following the current cell.

Syntax      CellClass Class (Softelvdm.SftTreeNET)

VB   

Public ReadOnly Property NextMainCell As CellClass
Public ReadOnly Overridable Property NextMainCell As CellBaseClass

C#   

public CellClass NextMainCell { get; }
public virtual CellBaseClass NextMainCell { get; }

C++   

public: property CellClass^ NextMainCell {
        CellClass^ get();
}
public: property virtual CellBaseClass^ NextMainCell {
        CellBaseClass^ get();
}

Property Value

The next main cell or null/Nothing if no more cells are present.

Comments

The NextMainCell property returns the next main cell following the current cell.

Main cells can consist of many subordinate cells. In order to navigate from one main cell to another, the NextMainCell property can be used.

CellClass.NextDisplayed and ColumnClass.NextDisplayed can be used to navigate from one cell to the following cell. This moves from one cell to the next without taking cell merging into account. NextMainCell will skip cells that are merged and locates the next main cell.

NextMainCell will not wrap around when the cell is in the last column.

PreviousMainCell returns the next main cell to the left, UpperMainCell and LowerMainCell locate the upper and lower cell respectively.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com